package com.moyq5.permit.center.web.jackson;

import java.util.HashMap;
import java.util.Map;

import com.moyq5.permit.center.bean.entity.Agent;
import com.moyq5.permit.center.bean.entity.AgentAdmin;
import com.moyq5.permit.center.bean.entity.AgentRole;
import com.moyq5.permit.center.bean.entity.Merch;
import com.moyq5.permit.center.bean.entity.MerchAdmin;
import com.moyq5.permit.center.bean.entity.MerchRole;
import com.moyq5.permit.center.bean.entity.Shop;
import com.moyq5.permit.center.bean.entity.ShopAdmin;
import com.moyq5.permit.center.bean.entity.ShopRole;
import com.moyq5.permit.center.bean.entity.SysAdmin;
import com.moyq5.permit.center.bean.entity.SysAdminRole;
import com.moyq5.permit.center.bean.entity.SysPermit;
import com.moyq5.permit.center.bean.entity.SysRole;
import com.moyq5.permit.center.web.jackson.mixin.AgentAdminMixIn;
import com.moyq5.permit.center.web.jackson.mixin.AgentMixIn;
import com.moyq5.permit.center.web.jackson.mixin.AgentRoleMixIn;
import com.moyq5.permit.center.web.jackson.mixin.MerchAdminMixIn;
import com.moyq5.permit.center.web.jackson.mixin.MerchMixIn;
import com.moyq5.permit.center.web.jackson.mixin.MerchRoleMixIn;
import com.moyq5.permit.center.web.jackson.mixin.ShopAdminMixIn;
import com.moyq5.permit.center.web.jackson.mixin.ShopMixIn;
import com.moyq5.permit.center.web.jackson.mixin.ShopRoleMixIn;
import com.moyq5.permit.center.web.jackson.mixin.SysAdminMixIn;
import com.moyq5.permit.center.web.jackson.mixin.SysAdminRoleMixIn;
import com.moyq5.permit.center.web.jackson.mixin.SysPermitMixIn;
import com.moyq5.permit.center.web.jackson.mixin.SysRoleMixIn;

/**
 * @author Moyq5's MvcMaker Tools
 */
public class MixInFactory {

	public Map<Class<?>, Class<?>> getMixIns() {
		Map<Class<?>, Class<?>> map = new HashMap<Class<?>, Class<?>>();
		map.put(SysAdmin.class, SysAdminMixIn.class);
		map.put(SysPermit.class, SysPermitMixIn.class);
		map.put(SysRole.class, SysRoleMixIn.class);
		map.put(SysAdminRole.class, SysAdminRoleMixIn.class);
		map.put(AgentRole.class, AgentRoleMixIn.class);
		map.put(AgentAdmin.class, AgentAdminMixIn.class);
		map.put(Agent.class, AgentMixIn.class);
		map.put(MerchRole.class, MerchRoleMixIn.class);
		map.put(MerchAdmin.class, MerchAdminMixIn.class);
		map.put(Merch.class, MerchMixIn.class);
		map.put(ShopRole.class, ShopRoleMixIn.class);
		map.put(ShopAdmin.class, ShopAdminMixIn.class);
		map.put(Shop.class, ShopMixIn.class);
		return map;
	}
	
}
